﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChartAI.Core.CM
{
    /// <summary>
    /// 提现记录表
    /// </summary>
    [SugarTable("TxRecord")]
    public class ChartAI_TxRecord
    {
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary> 
        public Guid UserId { get; set; }
        /// <summary>
        /// 提现前金额
        /// </summary> 
        public decimal Money1 { get; set; }
        /// <summary>
        /// 提现金额
        /// </summary> 
        public decimal Money2 { get; set; }
        /// <summary>
        /// 提现后金额
        /// </summary> 
        public decimal Money3 { get; set; }
        /// <summary>
        /// 状态  1.审核中，2.以发放，3.失败
        /// </summary> 
        public int State { get; set; }
        /// <summary>
        /// 提现时间
        /// </summary> 
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 失败原因
        /// </summary>
        public string FailureReason { get; set; }
    }
}
